package com.feng.chatCient.controller;

import com.feng.chatCient.entiry.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/user")
public class UserController {
    @GetMapping("/login.html")
    public String loginPage(){
        return "user/login.html";
    }

    @GetMapping("/login")
    public String login(User user){
        return "user/login.html";
    }
}
